// 服务端接口地址

const APIS = {
  development: {
    goodsBase: '//goods-api.chongmuniao.cn/ret',
    retailerBase: '//retailer-api.chongmuniao.cn/ret',
    staticRetBase: '//static-api.chongmuniao.cn/ret',
    staticBase: '//static-api.chongmuniao.cn',
    orderBase: '//order-api.chongmuniao.cn/ret',
    financeBase: '//finance-api.chongmuniao.cn/ret/',
    statisBase: '//statis-api.chongmuniao.cn/ret/',
  },
  release: {
    goodsBase: '//goods-api.chongmuniao.cn/ret',
    retailerBase: '//retailer-api.chongmuniao.cn/ret',
    staticRetBase: '//static-api.chongmuniao.cn/ret',
    staticBase: '//static-api.chongmuniao.cn',
    orderBase: '//order-api.chongmuniao.cn/ret',
    financeBase: '//finance-api.chongmuniao.cn/ret/',
    statisBase: '//statis-api.chongmuniao.cn/ret/',
  },
  production: {
    goodsBase: '//goods-api.jjbangbang.com/ret',
    retailerBase: '//retailer-api.jjbangbang.com/ret/',
    staticRetBase: '//static-api.jjbangbang.com/ret',
    staticBase: '//static-api.jjbangbang.com',
    orderBase: '//order-api.jjbangbang.com/ret',
    financeBase: '//finance-api.jjbangbang.com/ret/',
    statisBase: '//statis-api.jjbangbang.com/ret/',
  },
};
export const BASE_URL = APIS[process.env.NODE_ENV];
export const HEADERS = {
  'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
};
